package cn.wen.yaling.xo.dao;

import cn.wen.yaling.commons.entity.TodoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 
 * 
 * @author FY
 * @email 932043654@qq.com
 * @date 2022-08-13 02:07:37
 */
@Component
@Mapper
public interface TodoDao extends BaseMapper<TodoEntity> {

    /**
     * 勾选待做事项
     * @param todoIds
     * @return
     */
    boolean updateBatchById(@Param("todoIds") List<Integer> todoIds);

}
